package com.woniuxy.servicelayer;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.woniuxy.dal.entity.History;
import com.baomidou.mybatisplus.extension.service.IService;
import com.woniuxy.dal.entity.Ranges;
import com.woniuxy.dal.entity.Userinfo;

import java.util.List;

/**
 * @author rjq51
 * @description 针对表【history(历史记录表)】的数据库操作Service
 * @createDate 2023-03-27 17:02:43
 */
public interface HistoryService extends IService<History> {
    Page<History> selectHistoryByUserId(Integer userId, Integer status, Integer currentPage, Integer pageSize);

//    Integer updateHistory(Integer rangeId, Integer userId ,Integer status);

    Integer addHistory(Integer rangeId, Integer userId, Integer status);
}
